package com.forekonw.demo5;

import javax.naming.PartialResultException;

public class Csgo {
    private int[] arr;
    private int a;

    public Csgo(int a){
        this.a = a;
        arr = new int[10];
    }

    public int[] getArr() {
        return arr;
    }

    public void setArr(int[] arr) {
        this.arr = arr;
    }

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

    public static void main(String[] args) {
        Csgo csgo = new Csgo(2);
        int[] a = {1,2,3,4,5};
        csgo.setArr(a);
        int[] b = csgo.getArr();
        for (int i =0 ; i<b.length;i++){
            System.out.println(b[i]);
        }
        System.out.println(csgo.getA());
    }


}
